/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package POJO;

import java.util.Date;

/**
 *
 * @author Master
 */
public class POJO_KhachHang {
    private String CMND;
    private String HOTEN;
    private String DIACHI;
    private Date NGAYSINH;
    
    public void setCMND(String _cmnd)
    {
        this.CMND = _cmnd;
    }
    public String getCMND()
    {
        return CMND;
    }
    
    public void setHOTEN(String _hoTen)
    {
        this.HOTEN = _hoTen;
    }
    public String getHOTEN()
    {
        return HOTEN;
    }
    
    public void setDIACHI(String _diaChi)
    {
        this.DIACHI = _diaChi;
    }
    public String getDIACHI()
    {
        return DIACHI;
    }
    
    public void setNGAYSINH(Date _ngaySinh)
    {
        this.NGAYSINH = _ngaySinh;
    }
    public Date getNGAYSINH()
    {
        return NGAYSINH;
    }

    public POJO_KhachHang() {
        this.CMND = "";
        this.HOTEN = "";
        this.DIACHI = "";
        this.NGAYSINH = new Date();
    }

    public POJO_KhachHang(String CMND, String HOTEN, String DIACHI, Date NGAYSINH) {
        this.CMND = CMND;
        this.HOTEN = HOTEN;
        this.DIACHI = DIACHI;
        this.NGAYSINH = NGAYSINH;
    }
    
    @Override
    public String toString() {
        return this.CMND;
    }
    
}
